import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import Join from "../views/Join";
import Index from "../views/Index";
Vue.use(VueRouter)

const routes = [
    {
        path: '/',
        name: 'Home',
        component: Home
    },
    {
        path:'/join',
        name:'Join',
        component:Join
    },
    {
        path: '/index',
        name:'Index',
        component: Index
    },
]

const router = new VueRouter({
    routes
})

export default router
